The FactoryTalk View graphic XML file is an XML document that describes an entire graphic display, including display settings, graphic objects, properties, connections, animations, key assignments, grouping, and wallpaper.
This is an example of an XML document describing a Machine Edition graphic display with a few objects on it, including a text object, a numeric display object, a numeric input enable object and a group containing two rectangles, one of which is animated. Not all the possible properties for these objects are shown in this file. Any objects or properties that are not listed will not be modified when the file is imported.
You can specify multiple attributes for an element, and have multiple elements.
<?xml version="1.0" encoding="UTF-8"?>
<gfx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Gfx-ME1.xsd">
<displaySettings displayType="replace" backColor="white" width="640" height="480"/>
<text name="Text1" height="16" width="87" left="69" top="42" caption="Pump House 1"/>
<numericDisplay name="NumericDisplay1" height="44" width="104" left="234" top="150" borderStyle="raisedInset">
<connections>
<connection name="Value" expression="{[clx1]Count_Up[0]}"/>
</connections>
</numericDisplay>
<group name="Group1" wallpaper="false">
<rectangle name="Polygon1" height="35" width="53" left="378" top="40" visible="true"/>
<rectangle name="Polygon2" height="35" width="56" left="428" top="85 visible="true"/>
<animations>
<animateVisibility expression="system\BlinkFast" expressionTrueState="visible"/>
</animations>
</group>
<numericInputEnable name="NumericInputEnable1" height="55" width="80" left="57" top="142" keyAssignment="F1">
<caption fontFamily="Arial" caption="Stop"/>
<connections>
<connection name="Value" expression="{[clx1]n7[0]}"/>
</connections>
</numericInputEnable>
</gfx>
Graphic display XML file elements and attributes